-
Notifications
You must be signed in to change notification settings - Fork 99
Add POC for RUTv2 with JS v9 modular SDK. #209
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great!
The failing tests in firestore.spec.js and database.spec.js are blocking the update to v9. I'll make sure that any tests there are recreated in the new tests, and then replace those files with these. |
Merged, but note that tests for v9 directory won't pass until firebase/firebase-js-sdk#5501 is fixed. I'll enable CI for the directory after that. |
This adds some minimal tests (assertsFail and assertSucceed, authed and unauthed, RTDB and Firestore) to show the format of the new Rules Unit Testing library (RUT). This PR also functions as a summary of the changes necessary to start testing in an existing project.
Happy testing!
🌹🍒🍓🌶🎒🎈🍎 🧪🍀 💚 🥝 🍵 🌵🍏